package commonAdmin.web;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import commonAdmin.domain.Order;
import commonAdmin.service.BaseService;
import commonAdmin.service.OrderService;

/**
 *
 * @author: generate by tool
 * 2016-3-9 22:11:09
 */
@Controller
@RequestMapping("order")
public class OrderController extends CRUDController<Order, Integer> {

	@Autowired
	private OrderService orderService;

	@Override
	public BaseService<Order, Integer> getService() {
		return orderService;
	}

	@Override
	public String getViewFloder() {
		return "order";
	}

}
